<template>
<div class="model-train">
    <title-bar title="训练集概要"></title-bar>
    <detail-con :detail="detail"></detail-con>
</div>
</template>

<script>
import TitleBar from '@/components/TitleBar'
import DetailCon from '@/views/data/detail'
import {
    mapGetters
} from 'vuex'
export default {
    components: {
        TitleBar,
        DetailCon
    },
    computed: {
        ...mapGetters({
            modelDetail: 'common/getModelDetail'
        })
    },
    data () {
        return {
            detail: {}
        }
    },
    created () {
        this.init()
    },
    methods: {
        init () {
            this.detail = this.modelDetail.summary.trainDataTable
        }
    }
}
</script>
